package cn.buk.api.eotms.dto;

import cn.buk.tms.common.dto.flight.BaseFlightOrderPassengerDto;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yfdai
 */
public class FlightOrderPassengerDto extends BaseFlightOrderPassengerDto {

  /**
   * 对应于Passenger表中中的哪个用户
   */
  private Integer passengerId;

  /**
   * VIP等级，同passengerId对应的passenger对象中的vipLevel
   */
  private Integer vipLevel;

  private List<String> ticketNos;


  public Integer getPassengerId() {
    return passengerId;
  }

  public void setPassengerId(Integer passengerId) {
    this.passengerId = passengerId;
  }

  public Integer getVipLevel() {
    return vipLevel;
  }

  public void setVipLevel(Integer vipLevel) {
    this.vipLevel = vipLevel;
  }

  public List<String> getTicketNos() {
    if (ticketNos == null) {
      ticketNos = new ArrayList<>();
    }
    return ticketNos;
  }

  public void setTicketNos(List<String> ticketNos) {
    this.ticketNos = ticketNos;
  }
}
